Skip to content

查询投诉协商历史

商户可通过调用此接口,查询指定投诉的用户商户协商历史,方便商户根据处理历史来制定后续处理方案。

🚫

本接口服务已于 2021.01.08 (北京时间)下线,文档仅做留存参考。

请求参数类型描述
transaction_idstring微信支付订单号
php
$instance->v3->merchantService->complaints->_transaction_id_->negotiationHistorys->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant-service/complaints/{transaction_id}/negotiation-historys')->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant-service/complaints/{transaction_id}/negotiation-historys']->getAsync([
  'transaction_id' => '4200000404201909069117582536',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchantService->complaints->_transaction_id_->negotiationHistorys->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant-service/complaints/{transaction_id}/negotiation-historys')->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant-service/complaints/{transaction_id}/negotiation-historys']->get([
  'transaction_id' => '4200000404201909069117582536',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
complaint_negotiation_historyobject[]投诉协商历史
operate_userstring操作人
operate_timestring操作时间
operate_typestring操作类型
USER_CREATE_COMPLAINT | CREATE_COMPLAINT_BY_PLATFORM | USER_CONTINUE_COMPLAINT | USER_REVOKE_COMPLAINT | USER_CONFIRM_COMPLAINT | SELLER_REFUND | MERCHANT_LAUNCH_CONFIRM_PROCESS | USER_RESPONSE | MERCHANT_RESPONSE | RESPONSE_BY_PLATFORM | CONTINUE_COMPLAINT_BY_PLATFORM | CREATE_COMPLAINT_SYSTEM_MESSAGE | COMPLAINT_TIMEOUT_SYSTEM_MESSAGE | SELLER_REFUND_SYSTEM_MESSAGE | CONTINUE_COMPLAINT_SYSTEM_MESSAGE | LAUNCH_CONFIRM_PROCESS_SYSTEM_MESSAGE 枚举值之一
operate_detailsstring操作内容
image_liststring[]协商历史图片凭证

参阅 官方文档

Published on the GitHub by TheNorthMemory